﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using Model;


namespace MsDAL
{
    public partial class Bas0a01DAL : Bas0a01Base
    {
        /// <summary>
        /// 修改
        /// </summary>
        /// <returns></returns>
        public SqlApp DeleteByGroupcode(string groupcode)
        {
            Sys0a60DAL dal = new Sys0a60DAL();

            string sql = @" DELETE FROM Bas0a01 WHERE groupcode =@id ";

            SqlParameter[] parameters = {
				new SqlParameter("@id",SqlDbType.NVarChar)
				};

            parameters[0].Value = groupcode;

            return new SqlApp(sql, new ArrayList(parameters), false, "删除原组别失败！");
        }
    }
}
